home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / ui / options.menu < prev    next >
Encoding:
Text File  |  2000-11-22  |  6.9 KB  |  351 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ SETUP MENU \\
  5.  
  6. menuDef {
  7.         name "options_menu"
  8.         visible 0
  9.         fullscreen 0
  10.     rect 186 0 443 426
  11.         focusColor 1 .75 0 1
  12.         style 1
  13.         border 1
  14.     onOpen { setitemcolor fadebox backcolor 0 0 0 1 ; 
  15.         fadeout fadebox }
  16.     
  17.  
  18.  
  19.  
  20. itemDef {
  21.     name window
  22.     group grpControlbutton
  23.     rect 0 2 443 426    
  24.     style WINDOW_STYLE_FILLED
  25.     border 1
  26.     bordercolor .5 .5 .5 .5
  27.     forecolor 1 1 1 1
  28.     backcolor 0 0 0 .25
  29.     visible 1
  30.     decoration
  31. }
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.     itemDef {
  39.               name options
  40.         group grpOptions
  41.               type ITEM_TYPE_YESNO
  42.         text "Simple Items:"
  43.         cvar "cg_simpleItems"
  44.         rect 99 15 256 20
  45.               textalign ITEM_ALIGN_RIGHT
  46.               textalignx 128
  47.               textaligny 20
  48.         textscale .3
  49.               forecolor 1 1 1 1
  50.               visible 1 
  51.             }
  52.  
  53.     itemDef {
  54.               name options
  55.         group grpOptions
  56.               type ITEM_TYPE_YESNO
  57.         text "Marks On Walls:"
  58.         cvar "cg_marks"
  59.         rect 99 35 256 20
  60.               textalign ITEM_ALIGN_RIGHT
  61.               textalignx 128
  62.               textaligny 20
  63.         textscale .3
  64.               forecolor 1 1 1 1
  65.               visible 1 
  66.             }
  67.  
  68.     itemDef {
  69.               name options
  70.         group grpOptions
  71.               type ITEM_TYPE_YESNO
  72.         text "Show Floating Scores:"
  73.         cvar "cg_scorePlums"
  74.         rect 99 55 256 20
  75.               textalign ITEM_ALIGN_RIGHT
  76.               textalignx 128
  77.               textaligny 20
  78.         textscale .3
  79.               forecolor 1 1 1 1
  80.               visible 1 
  81.             }
  82.     
  83.     itemDef {
  84.               name options
  85.         group grpOptions
  86.         text "Ejecting Brass:"
  87.         type ITEM_TYPE_MULTI    
  88.         cvar "cg_brassTime"
  89.         cvarFloatList { "High" 2500 "Med" 1250 "Off" 0 }
  90.         rect 99 75 256 20
  91.               textalign ITEM_ALIGN_RIGHT
  92.               textalignx 128
  93.               textaligny 20
  94.         textscale .3
  95.               forecolor 1 1 1 1
  96.               visible 1 
  97.             }
  98.  
  99.     itemDef {
  100.               name options
  101.         group grpOptions
  102.               type ITEM_TYPE_YESNO
  103.         text "Dynamic Lights:"
  104.         cvar "r_dynamiclight"
  105.         rect 99 95 256 20
  106.               textalign ITEM_ALIGN_RIGHT
  107.               textalignx 128
  108.               textaligny 20
  109.         textscale .3
  110.               forecolor 1 1 1 1
  111.               visible 1 
  112.             }
  113.  
  114.     itemDef {
  115.               name options
  116.         group grpOptions
  117.               type ITEM_TYPE_YESNO
  118.         text "Identify Target:"
  119.         cvar "cg_drawCrosshairNames"
  120.         rect 99 115 256 20
  121.               textalign ITEM_ALIGN_RIGHT
  122.               textalignx 128
  123.               textaligny 20
  124.         textscale .3
  125.               forecolor 1 1 1 1
  126.               visible 1 
  127.             }
  128.  
  129.     itemDef {
  130.               name options
  131.         group grpOptions
  132.               type ITEM_TYPE_YESNO
  133.         text "Draw Gun:"
  134.         cvar "cg_drawGun"
  135.         rect 99 135 256 20
  136.               textalign ITEM_ALIGN_RIGHT
  137.               textalignx 128
  138.               textaligny 20
  139.         textscale .3
  140.               forecolor 1 1 1 1
  141.               visible 1 
  142.             }
  143.  
  144.     itemDef {
  145.               name options
  146.         group grpOptions
  147.               type ITEM_TYPE_YESNO
  148.         text "Low Quality Sky:"
  149.         cvar "r_fastsky"
  150.         rect 99 155 256 20
  151.               textalign ITEM_ALIGN_RIGHT
  152.               textalignx 128
  153.               textaligny 20
  154.         textscale .3
  155.               forecolor 1 1 1 1
  156.               visible 1 
  157.             }
  158.  
  159.     itemDef {
  160.               name options
  161.         group grpOptions
  162.               type ITEM_TYPE_YESNO
  163.         text "Sync Every Frame:"
  164.         cvar "weapon 5"
  165.         rect 99 175 256 20
  166.               textalign ITEM_ALIGN_RIGHT
  167.               textalignx 128
  168.               textaligny 20
  169.         textscale .3
  170.               forecolor 1 1 1 1
  171.               visible 1 
  172.             }
  173.     
  174.     itemDef {
  175.               name options
  176.         group grpOptions
  177.               type ITEM_TYPE_YESNO
  178.         text "Force Player Models:"
  179.         cvar "cg_forceModel"
  180.         rect 99 195 256 20
  181.               textalign ITEM_ALIGN_RIGHT
  182.               textalignx 128
  183.               textaligny 20
  184.         textscale .3
  185.               forecolor 1 1 1 1
  186.               visible 1 
  187.             }
  188.  
  189.     itemDef {
  190.               name options
  191.         group grpOptions
  192.               type ITEM_TYPE_YESNO
  193.         text "Draw Team Overlay:"
  194.         cvar "cg_drawTeamOverlay"
  195.         rect 99 215 256 20
  196.               textalign ITEM_ALIGN_RIGHT
  197.               textalignx 128
  198.               textaligny 20
  199.         textscale .3
  200.               forecolor 1 1 1 1
  201.               visible 1 
  202.             }
  203.     itemDef {
  204.               name options
  205.         group grpOptions
  206.               type ITEM_TYPE_YESNO
  207.         text "Auto Download:"
  208.         cvar "cl_allowDownload"
  209.         rect 99 235 256 20
  210.               textalign ITEM_ALIGN_RIGHT
  211.               textalignx 128
  212.               textaligny 20
  213.         textscale .3
  214.               forecolor 1 1 1 1
  215.               visible 1 
  216.             }
  217.     itemDef {
  218.               name options
  219.         group grpOptions
  220.               type ITEM_TYPE_YESNO
  221.         text "Show Time:"
  222.         cvar "cg_drawTimer"
  223.         rect 99 255 256 20
  224.               textalign ITEM_ALIGN_RIGHT
  225.               textalignx 128
  226.               textaligny 20
  227.         textscale .3
  228.               forecolor 1 1 1 1
  229.               visible 1 
  230.             }
  231.     itemDef {
  232.               name options
  233.         group grpOptions
  234.               type ITEM_TYPE_YESNO
  235.         text "Voices Off:"
  236.         cvar "cg_NoVoiceChats"
  237.         rect 99 275 256 20
  238.               textalign ITEM_ALIGN_RIGHT
  239.               textalignx 128
  240.               textaligny 20
  241.         textscale .3       
  242.               forecolor 1 1 1 1
  243.               visible 1 
  244.             }
  245.     itemDef {
  246.               name options
  247.         group grpOptions
  248.               type ITEM_TYPE_YESNO
  249.         text "Taunts Off:"
  250.         cvar "cg_noTaunt"
  251.         rect 99 295 256 20
  252.               textalign ITEM_ALIGN_RIGHT
  253.               textalignx 128
  254.               textaligny 20
  255.         textscale .3       
  256.               forecolor 1 1 1 1
  257.               visible 1 
  258.             }
  259.     itemDef {
  260.               name options
  261.         group grpOptions
  262.               type ITEM_TYPE_YESNO
  263.         text "Voice Text Off:"
  264.         cvar "cg_noVoiceText"
  265.         rect 99 315 256 20
  266.               textalign ITEM_ALIGN_RIGHT
  267.               textalignx 128
  268.               textaligny 20
  269.         textscale .3       
  270.               forecolor 1 1 1 1
  271.               visible 1 
  272.             }
  273.     itemDef {
  274.               name options
  275.         group grpOptions
  276.               type ITEM_TYPE_YESNO
  277.         text "Team Chats Only:"
  278.         cvar "cg_teamChatsOnly"
  279.         rect 99 335 256 20
  280.               textalign ITEM_ALIGN_RIGHT
  281.               textalignx 128
  282.               textaligny 20
  283.         textscale .3       
  284.               forecolor 1 1 1 1
  285.               visible 1 
  286.             }
  287.  
  288.     itemDef {
  289.               name options
  290.         group grpOptions
  291.               type ITEM_TYPE_YESNO
  292.         text "In Game Video:"
  293.         cvar "r_inGameVideo"
  294.         rect 99 355 256 20
  295.               textalign ITEM_ALIGN_RIGHT
  296.               textalignx 128
  297.               textaligny 20
  298.         textscale .3       
  299.               forecolor 1 1 1 1
  300.               visible 1 
  301.             }
  302.  
  303. itemDef {
  304.               name options
  305.         group grpOptions
  306.               type ITEM_TYPE_MULTI    
  307.         text "Statusbar:"
  308.         cvar "cg_hudfiles"
  309.         cvarStrList { Normal "ui/hud.txt" Small "ui/hud2.txt" }
  310.         rect 99 375 256 20
  311.               textalign ITEM_ALIGN_RIGHT
  312.               textalignx 128
  313.               textaligny 20
  314.         textscale .3        
  315.               forecolor 1 1 1 1
  316.               visible 1  
  317.     }
  318.  
  319. itemDef {
  320.               name options                
  321.         group grpOptions
  322.         text "Crosshair:"
  323.         rect 227 395 20 20
  324.         ownerdraw UI_CROSSHAIR
  325.               textalign ITEM_ALIGN_RIGHT
  326.               textalignx 0 
  327.               textaligny 20
  328.         textscale .3        
  329.               forecolor 1 1 1 1
  330.               visible 1 
  331.             }
  332.  
  333.  
  334. itemDef {
  335.           name fadebox
  336.           style WINDOW_STYLE_FILLED
  337.      background "ui/assets/fadebox.tga"
  338.     forecolor 0 0 0 1
  339.     backcolor 0 0 0 1
  340.     rect 0 0 640 480
  341.           visible 1 
  342.     decoration
  343.         }
  344.  
  345.  
  346.  
  347.     
  348.  
  349.  
  350. }
  351.